package com.zyg.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zyg.page.entity.Student;
import com.zyg.page.entity.vo.StudentVo;

import java.util.List;

public interface StudentService {
    List<Student> findAll();


    Student findById(int sid);

    void add(Student student);

    void update(Student student);

    void delete(int sid);

    IPage<Student> findByPage(int page, int pageSize);

    IPage<Student> search(int page, int pageSize, StudentVo studentVo);
}
